package com.tron.game.configs;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "tron")
public class TronConfig {


    public String getPrivateKey() {
        return private_key;
    }

    public void setPrivateKey(String private_key) {
        this.private_key = private_key;
    }

    private String private_key;
    private String account_name;
    private String address;
    private String contract_address;
    private String network;
    private String api_key;

    public String getCronTab() {
        return CronTab;
    }

    public void setCronTab(String cronTab) {
        CronTab = cronTab;
    }

    private  String CronTab;
    public String getApi_key() {
        return api_key;
    }

    public void setApi_key(String api_key) {
        this.api_key = api_key;
    }



    public String getAccount_name() {
        return account_name;
    }

    public void setAccount_name(String account_name) {
        this.account_name = account_name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContract_address() {
        return contract_address;
    }

    public void setContract_address(String contract_address) {
        this.contract_address = contract_address;
    }

    public String getNetwork() {
        return network;
    }

    public void setNetwork(String network) {
        this.network = network;
    }



    public String getPrivate_key() {
        return private_key;
    }

    public void setPrivate_key(String private_key) {
        this.private_key = private_key;
    }


    @Override
    public String toString() {
        return "TronConfig{" +
                "private_key='" + private_key + '\'' +
                ", account_name=" + account_name +'\''+
                ", address=" + address +'\''+
                ", contract_address=" + contract_address +'\''+
                ", network=" + network +'\''+
                ", api_key=" + api_key+
                '}';
    }
}

